/* OutSubView.java
 *
 * Project/Product: GWBS2009
 *
 * Modify Information:
 * =============================================================================
 *   Author	Date       Description
 *   ----------	---------- ---------------------------------------------------
 *   apep	2010-3-30	First release
 *
 * Licensed Materials - Property of APEP
 * =============================================================================
 *    (C) COPYRIGHT Shanghai Auto Mart E-Procurement Co., Ltd. 2007 - 2010
 *    All Rights Reserved.
 *
 *    This software is the confidential and proprietary information of
 *    Shanghai Auto Mart E-Procurement Co., Ltd. ("Confidential Information").
 *    You shall not disclose such Confidential Information and shall use it only
 *    in accordance with the terms of the license agreement you entered into 
 *    with Shanghai Auto Mart E-Procurement Co., Ltd.
 *
 * Noties:
 * =============================================================================
 * 
 */

package com.apep.jwcs.pojo;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Date;

import com.hitrust.gs.service.GSBaseBean;

public class OutSubView implements GSBaseBean {
    
    //产品分类名称
    private String productCategoryName;
    //产品品牌
    private String productBrank;
    //出库明细总金额
    private double productMoney;
    //出库时间
    private String outTime;
    //出厂时间
    private Date busUseDate;
    
    /**
     * @return the productCategoryName
     */
    public String getProductCategoryName() {
        return this.productCategoryName;
    }
    /**
     * @param aProductCategoryName the productCategoryName to set
     */
    public void setProductCategoryName(String aProductCategoryName) {
        this.productCategoryName = aProductCategoryName;
    }
    /**
     * @return the productBrank
     */
    public String getProductBrank() {
        return this.productBrank;
    }
    /**
     * @param aProductBrank the productBrank to set
     */
    public void setProductBrank(String aProductBrank) {
        this.productBrank = aProductBrank;
    }
    /**
     * @return the productMoney
     */
    public double getProductMoney() {
        return this.productMoney;
    }
    /**
     * @param aProductMoney the productMoney to set
     */
    public void setProductMoney(double aProductMoney) {
        this.productMoney = aProductMoney;
    }
    /**
     * @return the outTime
     */
    public String getOutTime() {
        return this.outTime;
    }
    /**
     * @param aOutTime the outTime to set
     */
    public void setOutTime(String aOutTime) {
        this.outTime = aOutTime;
    }
    /**
     * @return the busUseDate
     */
    public Date getBusUseDate() {
        return this.busUseDate;
    }
    /**
     * @param aBusUseDate the busUseDate to set
     */
    public void setBusUseDate(Date aBusUseDate) {
        this.busUseDate = aBusUseDate;
    }

    public Object process(ResultSet aResultSet) throws SQLException {
        OutSubView outSubView = new OutSubView();
        outSubView.productCategoryName=(aResultSet.getString("NAME")==null? "" :aResultSet.getString("NAME"));
        outSubView.productBrank=(aResultSet.getString("PRODUCT_BRAND") == null? "" :aResultSet.getString("PRODUCT_BRAND"));
        outSubView.productMoney=(aResultSet.getDouble("PRODUCT_MONEY") );
        outSubView.outTime=(aResultSet.getString("OUT_TIME") == null? "" : aResultSet.getString("OUT_TIME"));
        outSubView.busUseDate=(aResultSet.getDate("BUS_USE_DATE")) ;
        return outSubView;
    }
    
    
}
